.PHONY:all
all: mymysql wsserve json
mymysql:mysql.c
	gcc -o $@ $^ -L/usr/lib/x86_64-linux-gnu -lmysqlclient
wsserve:wsserve.cpp
	g++ -o $@ $^ -std=c++11 -lboost_system -lpthread
json:jsontest.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp
.PHONY:clean
clean:
	rm -rf mymysql

